package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-mplstp对象 element_busi_mplstp
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementBusiMplstp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 节点类型 */
    @Excel(name = "节点类型")
    private String nodeType;

    /** 源LSR ID */
    @Excel(name = "源LSR ID")
    private String startLsrId;

    /** 宿LSR ID */
    @Excel(name = "宿LSR ID")
    private String endLsrId;

    /** TUNNEL ID */
    @Excel(name = "TUNNEL ID")
    private String tunnelId;

    /** LSP ID */
    @Excel(name = "LSP ID")
    private String lspId;

    /** LSP名称 */
    @Excel(name = "LSP名称")
    private String lspName;

    /** 入端口 */
    @Excel(name = "入端口")
    private String startPort;

    /** 出端口 */
    @Excel(name = "出端口")
    private String endPort;

    /** 入标签 */
    @Excel(name = "入标签")
    private String startLabel;

    /** 出标签 */
    @Excel(name = "出标签")
    private String endLabel;

    /** 下一跳地址 */
    @Excel(name = "下一跳地址")
    private String nextAddr;

    /** 反向TUNNEL ID */
    @Excel(name = "反向TUNNEL ID")
    private String reverseTunnelId;

    /** 反向LSP名称 */
    @Excel(name = "反向LSP名称")
    private String reverseLspName;

    /** 反向入端口 */
    @Excel(name = "反向入端口")
    private String reverseStartPort;

    /** 反向出端口 */
    @Excel(name = "反向出端口")
    private String reverseEndPort;

    /** 反向入标签 */
    @Excel(name = "反向入标签")
    private String reverseStartLabel;

    /** 反向出标签 */
    @Excel(name = "反向出标签")
    private String reverseEndLabel;

    /** 反向下一跳地址 */
    @Excel(name = "反向下一跳地址")
    private String reverseNextAddr;

    /** 检测类型 */
    @Excel(name = "检测类型")
    private String monitorType;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setNodeType(String nodeType) 
    {
        this.nodeType = nodeType;
    }

    public String getNodeType() 
    {
        return nodeType;
    }
    public void setStartLsrId(String startLsrId) 
    {
        this.startLsrId = startLsrId;
    }

    public String getStartLsrId() 
    {
        return startLsrId;
    }
    public void setEndLsrId(String endLsrId) 
    {
        this.endLsrId = endLsrId;
    }

    public String getEndLsrId() 
    {
        return endLsrId;
    }
    public void setTunnelId(String tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public String getTunnelId() 
    {
        return tunnelId;
    }
    public void setLspId(String lspId) 
    {
        this.lspId = lspId;
    }

    public String getLspId() 
    {
        return lspId;
    }
    public void setLspName(String lspName) 
    {
        this.lspName = lspName;
    }

    public String getLspName() 
    {
        return lspName;
    }
    public void setStartPort(String startPort) 
    {
        this.startPort = startPort;
    }

    public String getStartPort() 
    {
        return startPort;
    }
    public void setEndPort(String endPort) 
    {
        this.endPort = endPort;
    }

    public String getEndPort() 
    {
        return endPort;
    }
    public void setStartLabel(String startLabel) 
    {
        this.startLabel = startLabel;
    }

    public String getStartLabel() 
    {
        return startLabel;
    }
    public void setEndLabel(String endLabel) 
    {
        this.endLabel = endLabel;
    }

    public String getEndLabel() 
    {
        return endLabel;
    }
    public void setNextAddr(String nextAddr) 
    {
        this.nextAddr = nextAddr;
    }

    public String getNextAddr() 
    {
        return nextAddr;
    }
    public void setReverseTunnelId(String reverseTunnelId) 
    {
        this.reverseTunnelId = reverseTunnelId;
    }

    public String getReverseTunnelId() 
    {
        return reverseTunnelId;
    }
    public void setReverseLspName(String reverseLspName) 
    {
        this.reverseLspName = reverseLspName;
    }

    public String getReverseLspName() 
    {
        return reverseLspName;
    }
    public void setReverseStartPort(String reverseStartPort) 
    {
        this.reverseStartPort = reverseStartPort;
    }

    public String getReverseStartPort() 
    {
        return reverseStartPort;
    }
    public void setReverseEndPort(String reverseEndPort) 
    {
        this.reverseEndPort = reverseEndPort;
    }

    public String getReverseEndPort() 
    {
        return reverseEndPort;
    }
    public void setReverseStartLabel(String reverseStartLabel) 
    {
        this.reverseStartLabel = reverseStartLabel;
    }

    public String getReverseStartLabel() 
    {
        return reverseStartLabel;
    }
    public void setReverseEndLabel(String reverseEndLabel) 
    {
        this.reverseEndLabel = reverseEndLabel;
    }

    public String getReverseEndLabel() 
    {
        return reverseEndLabel;
    }
    public void setReverseNextAddr(String reverseNextAddr) 
    {
        this.reverseNextAddr = reverseNextAddr;
    }

    public String getReverseNextAddr() 
    {
        return reverseNextAddr;
    }
    public void setMonitorType(String monitorType) 
    {
        this.monitorType = monitorType;
    }

    public String getMonitorType() 
    {
        return monitorType;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("nodeType", getNodeType())
            .append("startLsrId", getStartLsrId())
            .append("endLsrId", getEndLsrId())
            .append("tunnelId", getTunnelId())
            .append("lspId", getLspId())
            .append("lspName", getLspName())
            .append("startPort", getStartPort())
            .append("endPort", getEndPort())
            .append("startLabel", getStartLabel())
            .append("endLabel", getEndLabel())
            .append("nextAddr", getNextAddr())
            .append("reverseTunnelId", getReverseTunnelId())
            .append("reverseLspName", getReverseLspName())
            .append("reverseStartPort", getReverseStartPort())
            .append("reverseEndPort", getReverseEndPort())
            .append("reverseStartLabel", getReverseStartLabel())
            .append("reverseEndLabel", getReverseEndLabel())
            .append("reverseNextAddr", getReverseNextAddr())
            .append("monitorType", getMonitorType())
            .append("name", getName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
